<body>
<div class="header">
    <div class="header-left">
        <a href="/" class="gallery-title"><img class="logo" src="/images/logo.png" height="45"
                                               width="60"/><span class="gallery-text">余晖画廊™</span></a>
    </div>
    <div class="header-right">
        <div class="btn-group">
            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
                    aria-expanded="false">
                <span class="glyphicon glyphicon-align-justify" aria-hidden="true"></span> <span class="caret"></span>
            </button>
            <ul class="dropdown-menu">
                <li><a href="/">首页</a></li>
                <li><a href="/send/gallery">画廊中心</a></li>
                <li><a href="/send/user/my_gallery">我的画廊</a></li>
                <li role="separator" class="divider"></li>
            <#if (Session.current_user)! != "">
                <li><a href="/send/user/user_center">个人中心</a></li>
                <li><a href="/user/logout">用户注销</a></li>
            <#else>
                <li><a href="/send/login">用户登陆</a></li>
                <li><a href="/send/register">用户注册</a></li>
            </#if>
            </ul>
        </div>
    &nbsp;&nbsp;&nbsp;&nbsp;<span>${(Session.current_user.uname)!}</span>

        <#if (Session.current_user)! !="">
            <#if ! (Session.current_user.valid)!false>
                <a href="/send/user/info_edit">用户信息不完整，无效，请先完整信息！</a>
            </#if>
        </#if>
    </div>
</div>
